home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Embedded Part Changed Notif < prev    next >
Encoding:
Internet Message Format  |  1996-07-10  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Embedded Part Changed Notification
  2. Sent:        7/9/96 1:58 PM
  3. Received:    7/9/96 2:11 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Is there any way a container part can be notified of a change in an 
  9. >embedded part, ie trap part->Changed() from the embedded part.
  10.  
  11. There is an OpenDoc mechanism for this. An embedded part is supposed to 
  12. call ODFrame::ContentUpdated whenever the contents of a display frame are 
  13. changed. The container part is then notified by OpenDoc calling its 
  14. EmbeddedFrameUpdated method.
  15.  
  16. In ODF you can call FW_CPresentation::ContentUpdated to notify the 
  17. container part of a change. The ODF method 
  18. FW_CODPart::EmbeddedFrameUpdated will be called; however, all it does is 
  19. update links.
  20.  
  21. Mary Boetcher
  22. ODF person
  23.  
  24.  
  25. ........................................................................
  26.  Henri Lamiraux                                      lamiraux@apple.com
  27.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  28. ........................................................................
  29.  
  30.  
  31.